package com.webside.spread.service;

import java.util.List;
import java.util.Map;

import com.webside.spread.model.SpreadSupporterEntity;

public interface SpreadService {
	/**
	 * 查询所有渠道
	 * @return
	 */
	List<SpreadSupporterEntity> queryAllSpread();
	List<SpreadSupporterEntity> queryListByPage(Map<String, Object> param);
	/**
	 * 修改
	 */
	int updateSpread(SpreadSupporterEntity spread);
	/**
	 * 新增
	 */
	int addSpread(SpreadSupporterEntity spread);
	/**
	 * 删除
	 */
	int deleteSpread(List<String> spread);
	/**
	 * 查询所有渠道名
	 * @return
	 */
	List<String> selectSpreadName();
	/**
	 * 查询所有渠道名code
	 * @return
	 */
	List<Map<String,Object>> selectSpreadNameAll();
}
